<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Traditional Markets</title>
<link rel="stylesheet" type="text/css" href="css/Style.css" />
<link href='http://fonts.googleapis.com/css?family=Lily+Script+One' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Rock+Salt' rel='stylesheet' type='text/css'>
</head>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
int isAdmin = 0;
String visitorName=null;
Cookie cookie= null;
Cookie[] cookies=request.getCookies();
if(cookies!=null){
	for(int i=0; i<cookies.length; i++){
		cookie=cookies[i];
		if(cookie.getName().compareTo("user")==0)
		visitorName=cookie.getValue();
	}
}
%>
<c:set var="userName" value="<%= visitorName%>"></c:set>


<body>

<header class="cabecera">

<div class="image">

	<img src="Images/Skyline.png" alt="My title image">

	

	<c:if test="${userName!=null}">
	<div class="login"> 
		<img src="Images/icon.png" alt="icono">
		<a href="InfVisitorServlet"><c:out value="${userName}"></c:out></a> / <a href="index.jsp">LogOut</a>
	</div>
	</c:if>
	<c:if test="${userName==null}">
	<div class="login"> 
 		<img src="Images/icon.png" alt="icono">
 		
 		<a href="login.jsp">Login</a> / <a href="visitorRegister.jsp">SignIn</a>
	</div>
	</c:if>
</div>

<!-- Menu -->
<nav class="nav"> 
	<ul class="menu">
		<c:if test="${userName!=null}">
		<li><a href="index2.jsp"> Home</a></li>
		</c:if>
		<c:if test="${userName==null}">
		<li><a href="index.jsp"> Home</a></li>
		</c:if>
		<li><a href="#"> North Town</a>
			<ul>
				<li><a href="museum.jsp"> Museum</a></li>
				<li><a href="theater.jsp"> Theater</a></li>
				<li><a href="stadium.jsp"> Stadium</a></li>
				<li><a href="business.jsp"> Business</a></li>
			</ul>
		</li>
		<li><a href="#"> South Town</a>
			<ul>
				<li><a href="park.jsp"> Park</a></li>
				<li><a href="zoo.jsp"> Zoo</a></li>
				<li><a href="attractions.jsp"> Attractions</a></li>
				<li><a href="markets.jsp"> Markets</a></li>
			</ul>
		</li>
		<c:if test="${userName!=null}">
		<li><a href="EventServlet"> Events</a></li>
		</c:if>
		<c:if test="${userName==null}">
		<li><a href="login.jsp"> Events</a></li>
		</c:if>
	</ul>
 </nav>


</header>

<div class="Container">
	<h2>Traditional Markets</h2>
	<div class="text">
		<img src="Images/market.jpg" align="left"hspace="10" width="40%">
		<p> raditional fixed markets in New Codington go by a variety of names such 
		as "mercados públicos" (public markets), "mercados municipales" 
		(municipal markets) or even more often simply "mercados" (markets). 
		What is distinctive about these markets is that they are almost 
		always housed in buildings owned and operated by the local government,
		 with numerous stands inside rented by individual merchants, which 
		 usually sell produce and other basic food staples. This market 
		 developed in Mexico as a way to regulate pre Hispanic markets called 
		 "tianguis". These tianguis markets still remain in Mexico, with the 
		 most traditional held on certain days, put up and taken down the 
		 same day, much the way it was done in Mesoamerica.</p>
	
		<p>These fixed mercados can be found in any town of any size in 
		Codington. Often, these markets are accompanied one or more days per 
		week by tianguis which sets up around the main building. However, the 
		largest, best developed and most numerous fixed markets are in Codington 
		City, which has over 300, eighty of which are specialty markets 
		dedicated to one or more classes of merchandise such as gourmet food, 
		plants, cut flowers, candy and more. </p>
		
		<p>However, these traditional markets, especially in major cities, 
		face serious problems. In the past thirty years, there has been no 
		new construction of this type of market in Mexico City and those 
		which do exist have fallen into a state of disrepair.[6] While most 
		of these older markets have had upgrades in gas, electric and drainage,
		 as well as fire extinguishers installed, sixty percent are in danger 
		 of fire due to faulty electrical wiring. Many have insect and rodent 
		 infestations.[9] Many of these markets are considered to be in 
		 unsafe areas, with drug addicts, alcoholics and delinquents </p>
	</div>
	

</div>

<footer> Copyright @ 2015 All rights reserved </footer>	

</body>
</html>